package com.kxmall.huishou.service;

import com.kxmall.huishou.domain.HsWasteActivity;
import com.kxmall.huishou.domain.vo.HsWasteActivityVo;
import com.kxmall.huishou.domain.bo.HsWasteActivityBo;
import com.kxmall.common.core.page.TableDataInfo;
import com.kxmall.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 废品回收活动息Service接口
 *
 * @author kxmall
 * @date 2023-11-23
 */
public interface IHsWasteActivityService {

    /**
     * 查询废品回收活动息
     */
    HsWasteActivityVo queryById(Long id);

    /**
     * 查询废品回收活动息列表
     */
    TableDataInfo<HsWasteActivityVo> queryPageList(HsWasteActivityBo bo, PageQuery pageQuery);

    /**
     * 查询废品回收活动息列表
     */
    List<HsWasteActivityVo> queryList(HsWasteActivityBo bo);

    /**
     * 新增废品回收活动息
     */
    Boolean insertByBo(HsWasteActivityBo bo);

    /**
     * 修改废品回收活动息
     */
    Boolean updateByBo(HsWasteActivityBo bo);

    /**
     * 校验并批量删除废品回收活动息信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
